<include file='Public:header'/>

<div class="wrp_tab">
    <div class="tab">
        <ul class="tab_navs" id="tab">
            <li data-tab="dev" class="tab_nav first selected"><a data-param="tab=dev" data-url="__ROOT__/Home/Wiki/index" class="jsUrlLink" target="self" href="javascript:void(0);">开发资源</a></li>
        </ul>
    </div>
</div>

<div class="inner wrp container_box cell_layout">
    <div class="col_side">
        <div class="menu_box_primary">
            <include file='Wiki:menu'/>
        </div>
    </div>
    <div class="col_main">

        <div style="display:none;" id="index" class="article_box">
            <div class="inner">
                <div class="news_content">
                    {$content}
                </div>
            </div>
        </div>
        <iframe frameborder="0" id="iframe" style="height: 770px;" class="res_iframe" src="about:blank">
        </iframe>

    </div>
</div>
<div class="foot">
    <div class="inner wrp">
        <p class="copyright">
            &copy; 2016 {$Think.config.WEBNAME} All Right Reserved.
        </p>
        <ul class="ft links">
            <li class="links_item no_extra"><a target="_self" href="#">开发者协议</a></li>
            <li class="links_item no_extra"><a target="_self" href="#">联系我们</a></li>
            <li class="links_item last_child"><a target="_self" href="#">投诉建议</a></li>
        </ul>
    </div>
</div>

<script src="__PUBLIC__/statics/script/sea-modules/seajs/seajs/3.0.1/sea.js"></script>
<script src="__PUBLIC__/statics/script/sea-modules/seajs/seajs-css/seajs-css.js"></script>
<script>
    var rootPath = '__ROOT__';
    var staticsPath = '__PUBLIC__/statics/';

    //Set configuration
    seajs.config({
        base: "__PUBLIC__/statics/script/sea-modules/",
        //设置路径，方便跨目录调用
        paths: {
            //'jquery': 'https://a.alipayobjects.com/jquery',
            'asset': '__PUBLIC__/statics/script/sea-modules',
            'home': '__PUBLIC__/statics/script/home',
            'common': '__PUBLIC__/statics/script/common',
            'root': '__ROOT__',
        },
        //设置别名，方便调用
        alias: {
            "jquery": "jquery/jquery/1.10.1/jquery.js",
            "wiki": "home/wiki.js",
            "handlebars": "asset/handlebars/handlebars.seajs.min.js",
            "handlebars-helper": "asset/handlebars/handlebars-helper.js",
        }
    });

    seajs.use(['jquery', 'wiki'], function($, e) {

        //控制导航头nav选中
        if(window.nav) {
            !$(".selected").hasClass("jsNavItem")&&nav.selected("wiki");
        }

    });
</script>

</body>
</html>
